package com.aaa.dao;

import com.aaa.entity.Tester;

import java.util.List;

public interface TesterSDSDao {
    List<Tester> selectTester(Tester tester);
/**
 * @create by: WzZz
 * @description: 根据id 进行单行删除和 批量删除
 * @create time: 2022/7/8 15:57
 * @param
 * @return
 */

    int deleteTesterById(Integer id);
    int deleteTesterBatch(String id);

    /**
    * @Author: WTH
    * @Description: 新增
    * @Date:2022-07-07 15:44
    * @Params:
    */
    int addTester(Tester tester);

    /**
    * @Author: WTH
    * @Description: 根据手机号查询
    * @Date:2022-07-07 15:45
    * @Params:
    */
    List<Tester> selectTesterByPhone(Tester tester);

    /**
     * @create by: 玙德（3084385240@qq.com）
     * @description: 根据ID做查询，拿到当前测试人结果
     * @create time: 2022/7/8 23:23
     * @param
     * @return
     */
     List<Tester> selectResultOne(Integer testerId);
}
